package com.yonyougov.devops.cruxcisupport.server.dto;

import com.yonyougov.devops.fwc.api.dto.BasePageRequestDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.math.BigInteger;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "根据环境id查询未绑定的server列表")
public class NotLinkedServerByEnvIdRequestDto extends BasePageRequestDto {

    @NotNull
    @ApiModelProperty(value = "环境id", required = true)
    private BigInteger envId;

    @ApiModelProperty(value = "server ip", required = true)
    private String ip;
}
